home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
ge16mdm0.zip
/
GE16M.VGA
< prev
next >
Wrap
Text File
|
1994-02-13
|
2KB
|
62 lines
VESA compatible 640x480; 16M colors; 24-bit mode
100 $4f02 $101 0 0
88C2 ' mov dl,al
B600 ' mov dh,0
B8054F ' mov ax,$4f05
53 ' push bx
31DB ' xor bx,bx
C1E2*G ' shl dx,VESA granularity
CD10 ' int 10
5B ' pop bx
CB ' retf
@
Cirrus Logic SVGA CL-GD540x/542x; STB Evolution; Western Digital; 8 bit
101 $5F 0 0 0 ' ID number, registers AX,BX,CX,DX for INT $10
' if ID is in range 100-149, 8 bit mode, 200-249, 24 bit mode
' bank procedure: without mov curbank,al
2407 ' and al,7
8AE0 ' mov ah,al
C0E404 ' shl ah,4
BACE03 ' mov dx,3ceh
B009 ' mov al,9
EF ' out dx,ax
CB ' retf
@ ' end mark
Western Digital SVGA; 8-bit mode
102 95 0 0 0
88C4C0E404BACE03B009EFCB
@
VESA compatible 640x480; 16M colors; 24-bit mode
200 $4f02 $112 0 0
88C2 ' mov dl,al
B600 ' mov dh,0
B8054F ' mov ax,$4f05
53 ' push bx
31DB ' xor bx,bx
C1E2*G ' shl dx,VESA granularity
CD10 ' int 10
5B ' pop bx
CB ' retf
@
Cirrus Logic SVGA CL-GD540x/542x; STB Evolution; 24 bit mode
201 $71 0 0 0 ' ID number 200 - 24 bit
' ID=200 -> 24 bit mode, TrueColor
' bank procedure:
8AE0 ' mov ah,al
C0E404 ' shl ah,4
BACE03 ' mov dx,3ceh
B009 ' mov al,9
EF ' out dx,ax
CB ' retf
@ ' end mark
Trident 8900CL; 24bit mode
202 $6c 0 0 0
BAD803 ' mov dx,$3d8
EE ' out dx,al
CB ' retf
@
Western Digital SVGA; 24-bit mode; REQUIERS -\VSA1
203 110 0 0 0
88C4C0E404BACE03B009EFCB
@